<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>对菜的评论</title>
  </head>
  
  <body>
    <div class="container">
		<div class="row">
			<div class = "span2 well" style="margin-right:20px; margin-top:70px;">				
				<ul class="nav nav-list">					 					
				  <li class="active"><a href="${basePath }/dish.jspx">店长推荐（2）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=onsale">今日特价（1）</a></li>
				   <li><a href="${basePath }/dish.jspx?s=pop">最受欢迎（4）</a></li>	
				  <li><a href="${basePath }/dish.jspx?s=esp">特色（2）</a></li>			   
				  <li><a href="${basePath }/dish.jspx?s=cold">凉菜（5）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=hot">炒菜（12）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=ganguo">干锅（3）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=fish">鱼（5）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=mainfood">主食（4）</a></li>	
				  <li><a href="${basePath }/dish.jspx?s=jiu">酒水（15）</a></li>
				  <li><a href="${basePath }/dish.jspx?s=sweet">甜品（6）</a></li>
				</ul>					
			</div>
			<div class="span9" style="margin-right:20px; margin-top:70px;">
				<c:forEach items="${menuList }" var="menu">
					<c:if test="${fn:length(menu.commentList) != 0 }">
						<div class="row well" style="width:690px;">
							<div class="span2" style="margin-left:15px;margin-right:0px;">
								<img src="img/${menu.pic }" alt="" />
								<span>汉堡包</span><br/><span>10元</span>
							</div>
							<div class="span6" style="margin-left:0px;width:520px;">
								<c:forEach items="${menu.commentList }" var="comment">
								<blockquote>
								  <p style="font-size:14px;">${comment.comment }</p>
								  <small>来自
								  	<c:forEach items="${orderList }" var="order">
								  		<c:if test="${order.id == comment.order_id}">
								  			${order.table_num }
								  		</c:if>
								  	</c:forEach>
								 	 号桌的评论&nbsp;&nbsp;2012-09-21 19:30:45</small>
								  <a href=""><i class="icon-trash"></i>删除</a>
								</blockquote>
								</c:forEach>
								<div>
									<a href="">查看更多评论</a>
								</div>
							</div>
						</div>
					</c:if>
				</c:forEach>
			</div>
		</div>
	</div>
    
    
    
  </body>
</html>
